home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Present…nuary (Partner) - Disc 1 / The Apple Reference and Presentations Library (Disc 1)(January 1994).iso / Cordant / US English / HIAR / HIAR-68K / More Images / TIFFSpec.074 (.png) < prev    next >
Tagged Image File Format  |  1994-08-03  |  33.4 KB  |  1728x2500  |  [TIFF/HIAR]
   ocr: TIFF. 5.0 Appendices Ifno ColorResponseCurves field exists in a color image, the reader should assume. a gamma of 2,2 for each of the primaries. This default curve can be generated with the lollowing C code: ValuesPcrSample =1 < BitsPerSample; for (curvelo] -Gi-HicVawerusompki i++) curveli] = floor (pow 6/(ValuesPerSample - 1.0), 2.2) - 65535.0+. 3); The displaying or rendering application can know its own gamma, which we will call the "destination gamma." (An uncalibrated system can usually assume that its gamma is 2.2 without going too far wrong.) Using this information the application can c ...